﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    class Ticket
    {
        #region Attributes
        private int id;
        private Show show;
        private CinemaHall cinemaHall;
        private Seat seat;
        #endregion

        #region Constructors
        public Ticket()
        {
            id = 0;
            show = null;
            cinemaHall = null;
            seat = null;
        }

        public Ticket(int id, Show show, CinemaHall cinemaHall, Seat seat)
        {
            this.id = id;
            this.show = show;
            this.cinemaHall = cinemaHall;
            this.seat = seat;
        }
        #endregion

        #region Get and Set Methods
        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public Show Show
        {
            get { return show; }
            set { show = value; }
        }

        public CinemaHall CinemaHall
        {
            get { return cinemaHall; }
            set { cinemaHall = value; }
        }

        public Seat Seat
        {
            get { return seat; }
            set { seat = value; }
        }
        #endregion

    }
}
